package com.meitianhui.convenitenbuy.module.store.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.store.model.CouponCardInfo;

/**
 * Created by Administrator on 2017/11/29.
 */

public interface PreferentialDetailContract {
    interface View extends BaseView<Presenter> {


        void getCouponDetailSuccess(CouponCardInfo cardInfo);

        void receiveCouponSuccess();

        void onFail(int code,String msg);


    }

    interface Presenter extends BasePresenter {


        void getCouponDetail(String itemId);

        void receiveCoupon(String itemId);




    }
}
